<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="shortcut icon" th:href="@{/static/favicon.ico}">
    <link type="text/css" th:href="@{/static/css/sign/enrolUser.css}" rel="stylesheet">
    <link type="text/css" th:href="@{/static/css/font-awesome.css}" rel="stylesheet">
    <script type="text/javascript" th:src="@{/static/js/loginJs.js}"></script>
</head>
<body>
<form th:action="@{/enrolController}" method="get">
    <div id="content" class="content">
        <img id="img" src="../static/img/login.jpg">

        <!--        表单部分-->
        <div id="main" class="main">
            <div class="main-title">
                <h2>注册</h2>
            </div>
            <div class="main-name">
                <i class="fa fa-address-card-o fa-2x" aria-hidden="true"></i>
                <input type="text" name="name" placeholder="姓名">
            </div>
            <div class="main-username">
                <i class="fa fa-user-o fa-2x" aria-hidden="true"></i>
                <input type="text" name="username" placeholder="账号">
            </div>
            <div class="main-pwd">
                <i class="fa fa-lock fa-2x" aria-hidden="true"></i>
                <input type="password" name="password" placeholder="密码">
            </div>
            <div class="main-submit">
                <input type="submit" value="确定">
                <label style="color: red" th:text="${msg}"></label>
            </div>
        </div>
        <!--        表单部分结束-->
    </div>
</form>
</body>
</html>